Crate index_list
source ·Expand description
A doubly-linked list implemented in safe Rust.
The list elements are stored in a vector which provides an index to the element, where it stores the index of the next and previous element in the list. The index does not change as long as the element is not removed, even when the element changes its position in the list.
A new IndexList can be created empty with the new
method, or created from
an existing vector with IndexList::from
.
Re-exports§
pub use crate::listindex::ListIndex;
pub use crate::listiter::ListIter;
pub use crate::listdrainiter::ListDrainIter;
Modules§
- The definition of the ListDrainIter type
- Definition of the ListIndex type
- The defintions of the ListIter type
Structs§
- Doubly-linked list implemented in safe Rust.